package com.t.bricks.bussiness.db.entity.express.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 快递单'Express'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("快递单Express")
public class ExpressBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 订单编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sId", sComment="订单编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="订单编号", example="")
	//[end]
	protected String sId;

	/**
	 * 快递编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sNO", sComment="快递编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="快递编号", example="")
	//[end]
	protected String sNO;

	/**
	 * 快递公司(字典)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sCompany", sComment="快递公司(字典)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="快递公司(字典)", example="")
	//[end]
	protected String sCompany;

	/**
	 * 送货地址
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sAddress", sComment="送货地址", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="送货地址", example="")
	//[end]
	protected String sAddress;

	/**
	 * 投递人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sDeliverMan", sComment="投递人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="投递人", example="")
	//[end]
	protected String sDeliverMan;

	/**
	 * 投递时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="dDeliverTime", sComment="投递时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=5 )
	@ApiModelProperty(value="投递时间", example="")
	//[end]
	protected Date dDeliverTime;

	/**
	 * 送达人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sArriveMan", sComment="送达人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="送达人", example="")
	//[end]
	protected String sArriveMan;

	/**
	 * 送达时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="dArriveTime", sComment="送达时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=7 )
	@ApiModelProperty(value="送达时间", example="")
	//[end]
	protected Date dArriveTime;

	/**
	 * 级别
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="iLeven", sComment="级别", isDbField=true, sDbFileType="varchar",
		sDefaultData="1", isExtra=false, iskey=false, isNull=true,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="级别", example="1")
	//[end]
	protected String iLeven;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sCreator", sComment="创建人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="创建人", example="00000001")
	//[end]
	protected String sCreator;

	/**
	 * 创建日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="dCreateDate", sComment="创建日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=11 )
	@ApiModelProperty(value="创建日期", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="修改人", example="00000001")
	//[end]
	protected String sModifieder;

	/**
	 * 修改日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="dModifiedDate", sComment="修改日期", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="修改日期", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(枚举,1:揽货;2:运输中;3:驿站;4:已收货;5:完结)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="iState", sComment="状态(枚举,1:揽货;2:运输中;3:驿站;4:已收货;5:完结)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="状态(枚举,1:揽货;2:运输中;3:驿站;4:已收货;5:完结)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Express", sName="iVersion", sComment="版本", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="版本", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 订单编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置订单编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 快递编号
	 * @return String
	 */
	public String getsNO() {
		return sNO;
	}

	/**
	 * 设置快递编号
	 * @param sNO
	 */
	public void setsNO(String sNO) {
		this.sNO = sNO;
	}

	/**
	 * 取 快递公司(字典)
	 * @return String
	 */
	public String getsCompany() {
		return sCompany;
	}

	/**
	 * 设置快递公司(字典)
	 * @param sCompany
	 */
	public void setsCompany(String sCompany) {
		this.sCompany = sCompany;
	}

	/**
	 * 取 送货地址
	 * @return String
	 */
	public String getsAddress() {
		return sAddress;
	}

	/**
	 * 设置送货地址
	 * @param sAddress
	 */
	public void setsAddress(String sAddress) {
		this.sAddress = sAddress;
	}

	/**
	 * 取 投递人
	 * @return String
	 */
	public String getsDeliverMan() {
		return sDeliverMan;
	}

	/**
	 * 设置投递人
	 * @param sDeliverMan
	 */
	public void setsDeliverMan(String sDeliverMan) {
		this.sDeliverMan = sDeliverMan;
	}

	/**
	 * 取 投递时间
	 * @return Date
	 */
	public Date getdDeliverTime() {
		return dDeliverTime;
	}

	/**
	 * 设置投递时间
	 * @param dDeliverTime
	 */
	public void setdDeliverTime(Date dDeliverTime) {
		this.dDeliverTime = dDeliverTime;
	}

	/**
	 * 取 送达人
	 * @return String
	 */
	public String getsArriveMan() {
		return sArriveMan;
	}

	/**
	 * 设置送达人
	 * @param sArriveMan
	 */
	public void setsArriveMan(String sArriveMan) {
		this.sArriveMan = sArriveMan;
	}

	/**
	 * 取 送达时间
	 * @return Date
	 */
	public Date getdArriveTime() {
		return dArriveTime;
	}

	/**
	 * 设置送达时间
	 * @param dArriveTime
	 */
	public void setdArriveTime(Date dArriveTime) {
		this.dArriveTime = dArriveTime;
	}

	/**
	 * 取 级别
	 * @return String
	 */
	public String getiLeven() {
		return iLeven;
	}

	/**
	 * 设置级别
	 * @param iLeven
	 */
	public void setiLeven(String iLeven) {
		this.iLeven = iLeven;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建日期
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建日期
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改日期
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改日期
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(枚举,1:揽货;2:运输中;3:驿站;4:已收货;5:完结)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(枚举,1:揽货;2:运输中;3:驿站;4:已收货;5:完结)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
